package com.cduestc.weatheractivity;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.RelativeLayout;

public class NightMode extends AppCompatActivity {
    ImageButton ibBackMore1;
    Button changeBackground;
    RelativeLayout moon;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_night_mode);

        ibBackMore1 = this.findViewById(R.id.ibBackMore);
        changeBackground = this.findViewById(R.id.changeBackground);
        moon = this.findViewById(R.id.moon);

        ibBackMore1.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(NightMode.this,More.class);
                startActivity(intent);
            }
        });

        changeBackground.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

            }
        });

    }
}